package com.nanyang.tms.api.service.companydeclare;

import com.nanyang.common.core.domain.ApiResult;
import com.nanyang.common.core.page.PageBean;
import com.nanyang.tms.api.dto.request.companydeclare.CompanyDeclareAddRequest;
import com.nanyang.tms.api.dto.request.companydeclare.CompanyDeclareDelRequest;
import com.nanyang.tms.api.dto.request.companydeclare.CompanyDeclareQueryRequest;
import com.nanyang.tms.api.dto.request.companydeclare.CompanyDeclareUpdateRequest;
import com.nanyang.tms.api.dto.response.companydeclare.CompanyDeclarePageResponse;
import com.nanyang.tms.api.dto.response.companydeclare.CompanyDeclareResponse;

public interface CompanyDeclareRpcService {
    /**
     *
     * <p>listCompanyDeclare</p>
     * <p>Description:(查询列表)</p>
     *
     * @param param
     * @return
     */
    ApiResult<PageBean<CompanyDeclarePageResponse>> listCompanyDeclare(CompanyDeclareQueryRequest param);
    /**
     *
     * <p>getCompanyDeclareById</p>
     * <p>Description:(根据code获取详情)</p>
     *
     * @param param
     * @return
     */
    ApiResult<CompanyDeclareResponse> selectByCode(CompanyDeclareQueryRequest param);

    /**
     *
     * <p>saveCompanyDeclare</p>
     * <p>Description:(保存)</p>
     *
     * @param param
     * @return
     */
    ApiResult<Boolean> saveCompanyDeclare(CompanyDeclareAddRequest param);

    /**
     *
     * <p>updateCompanyDeclare</p>
     * <p>Description:(修改)</p>
     *
     * @param param
     * @return
     */
    ApiResult<Boolean> updateCompanyDeclare(CompanyDeclareUpdateRequest param);

    /**
     *
     * <p>delCompanyDeclareById</p>
     * <p>Description:(根据code删除)</p>
     *
     * @param param
     * @return
     */
    ApiResult<Boolean> delCompanyDeclare(CompanyDeclareDelRequest param);
}
